www.gusucode.com > wxApp PHP版微信小程序CMS系统 v1.0PHP源码程序 > wxApp PHP版微信小程序CMS系统 v1.0/wxAppCMS_v1.0.0/wxAppCMS_v1.0.0/iPHP/core/template/plugins/compiler.tplheader.php
<?php /* * Template Lite plugin * ------------------------------------------------------------- * File: compiler.tplheader.php * Type: compiler * Name: tplheader * Purpose: Output header containing the source file name and * the time it was compiled. * ------------------------------------------------------------- */ function tpl_compiler_tplheader($arguments, &$tpl) { return "\necho '" . $tpl->_file . " compiled at " . date('Y-m-d H:M'). "';"; }